package com.xwy.dao;

import com.xwy.entity.SysDepartment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * (SysDepartment)表数据库访问层
 *
 * @author xwy
 * @since 2020-06-10 19:32:34
 */
@Mapper
public interface SysDepartmentDao {

    // 查询全部部门申请信息
    List<SysDepartment> findDepartmentAll();

    // 获取单个报名信息的内容
    SysDepartment queryById(String depId);


    /**
     * 通过实体作为筛选条件查询
     *
     * @param sysDepartment 实例对象
     * @return 对象列表
     */
    List<SysDepartment> queryAll(SysDepartment sysDepartment);


}